Find out why your ubuntu stuck on reboot
Let's show detail logs when we were rebooting
edit
/etc/default/grub, change the lineGRUB_CMDLINE_LINUX_DEFAULT="quiet"toGRUB_CMDLINE_LINUX_DEFAULT="splash"quiet: this option tells the kernel to NOT produce any output. (If you add this, you'll see a screen of printed messages)
splash: this option is used to start an eye-candy "loading" screen while all the core parts of the system are loaded in the background.
run
update-grub2orupdate-grubto reload the config
Can we just temporarily solve this problem?
- edit
/etc/systemd/system.conf - change a few lines of old config to:
DefaultTimeoutStartSec=5s DefaultTimeoutStopSec=5s - run
sudo systemctl daemon-reload